package org.jeecg.modules.nurse_user.service;

import org.jeecg.modules.nurse_user.entity.NurseUserIntegral;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 用户积分
 * @Author: jeecg-boot
 * @Date: 2024-06-09
 * @Version: V1.0
 */
public interface INurseUserIntegralService extends IService<NurseUserIntegral> {

    /**
     * 通过主表id查询子表数据
     *
     * @param mainId
     * @return List<NurseUserIntegral>
     */
    public List<NurseUserIntegral> selectByMainId(String mainId);

    /**
     * 通过orderId删除数据
     *
     * @param orderId
     * @return void
     */
    public void deleteByOrderId(String orderId);
}
